package com.hsmpay.mobile.pojo.organization;


import com.hsmpay.mobile.pojo.BasePojo;

import java.util.Date;

/**
 * Created by zhy on 15/11/19.
 */
public class Organization extends BasePojo {
    private static final long serialVersionUID = 1L;

    private Long id;//ID
    private String name;//机构名称
    private Integer type;//类型 1 OEM 2省代 3代理商 …
    private Long parentId;//机构父节点Id
    private String layer;//层级代号
    private String description;//机构描述
    private Date createDate;//创建时间
    private Date updateDate;//更新时间
    private Integer deleted;//逻辑删除标志
    private Integer province;//省
    private Integer city; //市
    private String address;//公司地址
    private String mobile;//手机
    private String phone;//座机
    private String legalName;//负责人姓名
    private String identityCard;//身份证号
    private String post;//邮编
    private String email;//负责人邮箱
    private String salesman;//业务员姓名
    private Long createUserId;//创建操作员ID
    private Long checkUserId;//审核操作员ID
    private Integer status;//1正常状态 2未付款  3未审核 4审核失败
    private Integer payType;//付款类型
    private String checkDesc;//审核描述
    private Integer isCheckOrg;//审核描述
    private Integer isDir;//是否为目录

    private OrganizationCleaning orgCleaning;//机构结算对象
    private OrganizationContract orgContract;//机构合同对象

    //查询字段
    private String parentIdNull;
    private String andWhere;

    //其他
    private String provinceName;
    private String cityName;
    private Long paramOrgId;//机构ID 查询

    private Long broStatus;//佣金状态
    private Long broClearType;// 分佣类型 1、系统结算 2、代理商结算
    private String clearMac;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getLayer() {
        return layer;
    }

    public void setLayer(String layer) {
        this.layer = layer;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Integer getProvince() {
        return province;
    }

    public void setProvince(Integer province) {
        this.province = province;
    }

    public Integer getCity() {
        return city;
    }

    public void setCity(Integer city) {
        this.city = city;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getLegalName() {
        return legalName;
    }

    public void setLegalName(String legalName) {
        this.legalName = legalName;
    }

    public String getIdentityCard() {
        return identityCard;
    }

    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard;
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getSalesman() {
        return salesman;
    }

    public void setSalesman(String salesman) {
        this.salesman = salesman;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public Long getCheckUserId() {
        return checkUserId;
    }

    public void setCheckUserId(Long checkUserId) {
        this.checkUserId = checkUserId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public String getCheckDesc() {
        return checkDesc;
    }

    public void setCheckDesc(String checkDesc) {
        this.checkDesc = checkDesc;
    }

    public Integer getIsCheckOrg() {
        return isCheckOrg;
    }

    public void setIsCheckOrg(Integer isCheckOrg) {
        this.isCheckOrg = isCheckOrg;
    }

    public Integer getIsDir() {
        return isDir;
    }

    public void setIsDir(Integer isDir) {
        this.isDir = isDir;
    }

    public OrganizationCleaning getOrgCleaning() {
        return orgCleaning;
    }

    public void setOrgCleaning(OrganizationCleaning orgCleaning) {
        this.orgCleaning = orgCleaning;
    }

    public OrganizationContract getOrgContract() {
        return orgContract;
    }

    public void setOrgContract(OrganizationContract orgContract) {
        this.orgContract = orgContract;
    }

    public String getParentIdNull() {
        return parentIdNull;
    }

    public void setParentIdNull(String parentIdNull) {
        this.parentIdNull = parentIdNull;
    }

    public String getAndWhere() {
        return andWhere;
    }

    public void setAndWhere(String andWhere) {
        this.andWhere = andWhere;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public Long getParamOrgId() {
        return paramOrgId;
    }

    public void setParamOrgId(Long paramOrgId) {
        this.paramOrgId = paramOrgId;
    }

    public Long getBroStatus() {
        return broStatus;
    }

    public void setBroStatus(Long broStatus) {
        this.broStatus = broStatus;
    }

    public Long getBroClearType() {
        return broClearType;
    }

    public void setBroClearType(Long broClearType) {
        this.broClearType = broClearType;
    }

    public String getClearMac() {
        return clearMac;
    }

    public void setClearMac(String clearMac) {
        this.clearMac = clearMac;
    }
}
